<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		
		<title>SPMS</title>
		
<link rel="stylesheet" type="text/css" href="css/style.css" />
	</head>

	
<body onload="document.login.UserName.focus()" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF">
    
    <img src="images/logo.jpg"   />
      <img  src="images/bg_h2.jpg"   />
         <img  src="images/bg_h2.jpg"   />
            <img  src="images/bg_h2.jpg"   />
                <img  src="images/bg.jpg"   />
                    <img  src="images/bg.jpg"   />
<br>             <img  src="images/bg_h2.jpg"   />         
                    <img  src="images/bg_h2.jpg"   />         
                        <img  src="images/bg_h2.jpg"   />
                <!--         <form name="login" action="DB/login.jsp" method="post">
                         <table><tr><td>User Name</td><td align="center"><input type="text" name="UserName" size="30" value="Write User Name Here" onfocus="this.value=''" onblur="if (this.value=='')this.value='Write User Name Here'" size=30 /></td></tr>
                                <tr><td>Password</td><td align="center"><input type="password" name="PassWord" size="30"/></td></tr>
                                <tr><td><input type="submit" value="Login" /></td></tr>
                                </table></form> -->
<div id="outer">
			<div id="inner">
			
			<div class="bgtext">SPMS</div>
	
			
			<div id="text1"><a href="Student/studentReg.jsp">Student<span>&raquo;Student Registration to SPMS</span></a></div>
			<div id="text3"><a href="Proff/ProfReg.jsp">Professor<span>&raquo;professor Registration to SPMS</span></a></div>
			<div id="text7"><a href="http://ccis.ws/ccis">Imam Univesity<span>&raquo;College of CS and IS</span></a></div>
                         <!-- <div id="text2"><a href="index2.jsp">Login</a><a><form action="DB\login.jsp" name='login'><input name="UserName" type="text" value="User Name"><br><input type="password" value = "123"></form></a></div> -->
<div id="text2"><a href="index.jsp">Login</a>
<%= 
request.getParameter("enrolment") == null ?
	request.getParameter("session") == null ?
		request.getParameter("wrong") == null ?
				request.getParameter("pending") == null ?
					request.getParameter("stop") == null ?
					"" 
				:"<h3>&raquo; The service is not availabe now, Try later.<br>&nbsp;&nbsp; "
					
				: "<h3>&raquo; Your account is pending.<br>&nbsp;&nbsp; " +
					"Contact the administrator.</h3>" 
		:"<h3>&raquo; Wrong Username or Password &raquo;</h3>"
	: "<h3>&raquo; Session Expired.<h3>"
: "<h3>&raquo; Enrolment key invalid.<br>&nbsp;&nbsp; " +
"Contact the administrator.</h3>" 
		%>
<form name="login" action="DB/login.jsp" method="post">
            <table><tr><td><a>&raquo; User Name</a></td><td align="center"><input type="text" name="UserName" size="20" value="Write User Name Here" onfocus="this.value=''" onblur="if (this.value=='')this.value='Write User Name Here'" size=30 /></td></tr>
                <tr><td><a>&raquo; Password</a></td><td align="center"><input type="password" name="PassWord" size="20"/></td></tr>
                                <tr><td /><td align="right"><input type="submit" value="Login" /></td></tr>
                                </table></form></div>
			

			  
			</div>

                 </div>



         </body>

</html>